pnpm run build
# 打印成功信息
Write-Host "Build completed successfully!"
Write-Host "切换到build分支"
git checkout build
Write-Host '提交dist目录'
git add dist
git commit -m 'build: update'
git push origin build
Write-Host '切换到master分支'
git checkout master